<%@ Page Language="C#" MasterPageFile="app-frame.master" AutoEventWireup="true" CodeFile="UserWizard.aspx.cs" Inherits="UserWizard" Title="App Frame" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder3" Runat="Server">
     <script language="javascript" src="../js/JScript.js" type="text/javascript"></script>
    <script language="JavaScript" src="scripts/userwizard.js" type="text/javascript"></script>        
        <table width="99%" border="0" cellpadding="0" cellspacing="0">
            <tr>
                        <td>
                            <asp:Label ID="lblMessage" runat="server" EnableViewState="False" CssClass="controlFont"></asp:Label>
                        </td>
                    </tr>
                    </table>
    <asp:Wizard ID="User_Wizard" runat="server" ActiveStepIndex="0"  Height="101px" OnFinishButtonClick="User_Wizard_FinishButtonClick"
         Width="99%" DisplayCancelButton="True" OnCancelButtonClick="User_Wizard_CancelButtonClick" CellPadding="0" CellSpacing="0" HeaderText="Users - Add">
         <HeaderTemplate>         
            <table width="100%" border="0" cellpadding="0" cellspacing="0">            
            <tr>
                <td align="left"><asp:Label ID="lblTopHeader" runat="server" Font-Bold="True" Font-Size="10pt" Text="Users - Add" CssClass="pgForm_title" Visible="True"></asp:Label></td>
                <td align="right"><asp:panel Width="130px" BorderColor="#808080" BorderStyle="solid" BorderWidth="0px" runat="server" id="resetPassworddivtrigger"><asp:Button CausesValidation="False" ID="btnResetPassword" runat="server" Text="Reset Password" OnClientClick="javascript:return false;" /><%--<img src="Images/resetpassword.gif" border="0" />--%></asp:panel>
                            <asp:Panel BorderColor="#808080" BorderStyle="solid" BorderWidth="1px" BackColor="#FFFFFF" ID="div_reset_password" runat="server" Height="130px" Width="200px">           
                                <table width="100%">
                                    <tr>
                                        <td class="Grid_header" style="height:20px;">
                                            <span style="color: #000000;">Reset Password</span></td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <span style="color: #000000;font-size:xx-small;" class="defaultFont">New Password</span><br />
                                            <asp:TextBox onChange="javascript:resetRPText();" runat="server" ID="txtNewPassword" TextMode="Password" MaxLength="50" Width="100%" CssClass="defaultFont" Font-Size="X-Small"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <span class="defaultFont" style="color: #000000;font-size:xx-small;">Confirm Password</span><br />
                                            <asp:TextBox onChange="javascript:resetRPText();" runat="server" ID="txtConfirmPassword" TextMode="Password" MaxLength="50" Width="100%" CssClass="defaultFont" Font-Size="X-Small"></asp:TextBox>
                                        </td>
                                    </tr>

                                    <tr>
                                        <td valign="middle">
                                            <table width="100%">
                                                <tr>
                                                    <td><input type="button" id="reset_password" onclick="javascript:resetPassword();" value="Reset" /></td>
                                                    <td>&nbsp;<asp:Label ID="rp_status" runat="server" CssClass="defaultFont" Font-Size="XX-Small"></asp:Label></td>
                                                </tr>
                                            </table>
                                       </td>
                                    </tr>
                                </table>
                            </asp:Panel>
                            <cc1:HoverMenuExtender OffsetX="-70" OffsetY="20" ID="HoverMenuExtender1" runat="server" DynamicServicePath=""
                                Enabled="True" TargetControlID="resetPassworddivtrigger" PopupControlID="div_reset_password">
                            </cc1:HoverMenuExtender></td>
                            <%--<script language="javascript" type="text/javascript"></script>--%>
            </tr>            
            </table>
         </HeaderTemplate>
        <SideBarStyle Width="210px" />
        <NavigationStyle VerticalAlign="Top" CssClass="displaygridbottom" Height="30px" />
        <SideBarTemplate>
            <asp:DataList ID="SideBarList" runat="server">
                <SelectedItemStyle Font-Bold="True" />
                <ItemTemplate>
                    <asp:LinkButton ID="SideBarButton" runat="server"></asp:LinkButton>
                    <asp:Label ID="lblHeader" runat="server" Font-Bold="True" Font-Size="10pt" Text="sks" CssClass="defaultFont" Visible="True"></asp:Label>
                </ItemTemplate>
            </asp:DataList>
        </SideBarTemplate>
        <WizardSteps>
            <asp:WizardStep ID="UserWizardStep1" runat="server" Title="User Creation Wizard - Step 1">
                <table id="Table1" style="font-size: 8pt;" class="defaultFont" border="0" cellpadding="0" cellspacing="0" width="100%">
                    <tr>
                        <td colspan="4">
                            <asp:Label ID="lblHeader" runat="server" Font-Bold="True" Font-Size="10pt" Text="Users - Add" CssClass="defaultFont" Visible="False"></asp:Label>
                            </td>
                        <td>                            
                        </td>
                    </tr>
                    <tr>
                        <td colspan="5" id="td_Page_ToopTip" runat="server">
                        </td>
                    </tr>
<%--                    <tr>
                        <td colspan="5">
                            <asp:Label ID="lbl_message2" runat="server" EnableViewState="False" CssClass="defaultFont"
                                Font-Size="X-Small" ForeColor="Black"></asp:Label>
                        </td>
                    </tr>
--%>                    <tr>
                        <td colspan="5">
                            </td>
                    </tr>
                    <tr>
                        <td valign="top">
                            <asp:Label ID="Label1" runat="server" Text="User ID" Font-Size="8pt" CssClass="controlLabelFont"></asp:Label>
                        </td>
                        <td id="hc_TB_user_id" runat="server" valign="top">
                            <table border="0" cellpadding="0" cellspacing="0">
                                <tr>
                                    <td>
                            <asp:TextBox ID="TB_user_id" runat="server" CssClass="defaultFont" Font-Size="8pt" Width="210px"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TB_user_id"
                                ErrorMessage="Please enter User ID" CssClass="defaultFont" Font-Size="8pt" Width="123px" Display="None"></asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                            </table>
                            
                        </td>
                        <td>
                            
                        </td>
                        <td valign="top">
                            <asp:Label ID="Label5" runat="server" Text="First name" Width="81px" Font-Size="8pt" CssClass="controlLabelFont"></asp:Label>
                        </td>
                        <td valign="top">
                            <table border="0" cellpadding="0" cellspacing="0">
                                <tr>
                                    <td>
                            <asp:TextBox ID="TB_first_name" runat="server" CssClass="defaultFont" Font-Size="8pt" Width="210px"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="TB_first_name"
                                ErrorMessage="Please enter First name" CssClass="defaultFont" Font-Size="8pt" Width="123px" Display="Dynamic"></asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="5">
                        </td>
                    </tr>
                    <tr>
                        <td valign="top">
                            <asp:Label ID="Label10" runat="server" Text="Mid initial" Font-Size="8pt" CssClass="controlLabelFont"></asp:Label>
                        </td>
                        <td valign="top">
                            <asp:TextBox ID="TB_mid_initial" runat="server" CssClass="defaultFont" Font-Size="8pt" MaxLength="4" Width="210px"></asp:TextBox>
                        </td>
                        <td>
                        </td>
                        <td valign="top">
                            <asp:Label ID="Label8" runat="server" Text="Last name" Font-Size="8pt" CssClass="controlLabelFont"></asp:Label>
                        </td>
                        <td valign="top">
                            <table border="0" cellpadding="0" cellspacing="0">
                                <tr>
                                    <td style="width: 100px">
                            <asp:TextBox ID="TB_last_name" runat="server" CssClass="defaultFont" Font-Size="8pt" Width="210px"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td style="width: 100px">
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TB_last_name"
                                ErrorMessage="Please enter Last name" CssClass="defaultFont" Font-Size="8pt" Width="123px" Display="Dynamic"></asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                            </table>
                            
                        </td>
                    </tr>
                    <tr>
                        <td colspan="5">
                        </td>
                    </tr>
                    <tr>
                        <td valign="top">
                            <asp:Label ID="Label11" runat="server" Text="E-mail" CssClass="controlLabelFont"></asp:Label>
                        </td>
                        <td valign="top">
                            <table border="0" cellpadding="0" cellspacing="0">
                                <tr>
                                    <td>
                            <asp:TextBox ID="TB_email_id" CssClass="controlFont" runat="server" Width="210px"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                            <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="TB_email_id"
                                ErrorMessage="Please enter valid E-mail id" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" Display="Dynamic" CssClass="controlFont">Please enter valid E-mail id</asp:RegularExpressionValidator>
                                    </td>
                                </tr>
                            </table>
                        </td>
                        <td valign="top">
                        </td>
                        <td valign="top">
                            <asp:Label ID="Label19" runat="server" Font-Size="8pt" Text="Home Page Menu"
                                Width="108px" CssClass="controlLabelFont"></asp:Label>
                        </td>
                        <td valign="top">
                            <asp:DropDownList ID="DD_home_page_menu" runat="server" Width="210px" CssClass="defaultFont" Font-Size="8pt">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="5">
                            </td>
                    </tr>
                    <tr>
                        <td valign="top">
                            <asp:Label ID="Label6" runat="server" Text="Country" Width="74px" Font-Size="8pt" CssClass="controlLabelFont"></asp:Label>
                        </td>
                        <td valign="top">
                            <asp:DropDownList ID="DD_country" runat="server" Width="210px" CssClass="defaultFont" Font-Size="8pt">
                            </asp:DropDownList>
                        </td>
                        <td valign="top">
                        </td>
                        <td valign="top">
                            <asp:Label ID="Label9" runat="server" Text="Time Zone" Font-Size="8pt" Width="89px" CssClass="controlLabelFont"></asp:Label>
                        </td>
                        <td valign="top">
                            <asp:DropDownList ID="DD_time_zone" runat="server" Width="210px" CssClass="defaultFont" Font-Size="8pt">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="5">
                        </td>
                    </tr>
                    <tr>
                        <td valign="top">
                            <asp:Label ID="Label13" runat="server" Text="Currency" Width="88px" Font-Size="8pt" CssClass="controlLabelFont"></asp:Label>
                        </td>
                        <td valign="top">
                            <asp:DropDownList ID="DD_currency_id" runat="server" Width="210px" CssClass="defaultFont" Font-Size="8pt">
                            </asp:DropDownList>
                        </td>
                        <td>
                        </td>
                        <td valign="top">
                            <asp:Label ID="Label2" runat="server" Font-Size="8pt" Text="Locale"
                                Width="95px" CssClass="controlLabelFont"></asp:Label>
                        </td>
                        <td valign="top">
                            <asp:DropDownList ID="DD_Locale" runat="server" Width="210px" CssClass="defaultFont" Font-Size="8pt">
                        </asp:DropDownList>
                        </td>
                    </tr>
                    <tr >
                        <td colspan="5">
                            </td>
                    </tr>
                    <tr>
                        <td valign="top">
                            <asp:Label ID="Label20" runat="server" Text="Hint Question" Width="89px" Font-Size="8pt" CssClass="controlLabelFont"></asp:Label>
                        </td>
                        <td valign="top">
                            <asp:DropDownList ID="DD_hint_question" runat="server" Width="210px" CssClass="defaultFont" Font-Size="8pt">
                            </asp:DropDownList>
                        </td>
                        <td valign="top">
                        </td>
                        <td valign="top">
                            <asp:Label ID="Label21" runat="server" Font-Size="8pt" Text="Hint Answer" CssClass="controlLabelFont"></asp:Label>
                        </td>
                        <td valign="top">
                            <asp:TextBox ID="TB_hint_answer" runat="server" CssClass="defaultFont" Font-Size="8pt" Width="210px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="5">
                            </td>
                    </tr>
                    <tr>
                        <td valign="top">
                            <asp:Label ID="Label15" runat="server" Font-Size="8pt" Text="Title"
                                Width="57px" CssClass="controlLabelFont"></asp:Label>
                        </td>
                        <td valign="top">
                            <asp:DropDownList ID="DD_title" runat="server" Width="210px" AutoPostBack="True" OnSelectedIndexChanged="DD_title_SelectedIndexChanged" CssClass="defaultFont" Font-Size="8pt">
                            </asp:DropDownList>
                        </td>
                        <td valign="top">
                        </td>
                        <td valign="top">
                            <asp:Label ID="Label16" runat="server" Font-Size="8pt" Text="Reporting To"
                                Width="77px" CssClass="controlLabelFont"></asp:Label>
                        </td>
                        <td valign="top">
                            <asp:DropDownList ID="DD_reporting_to" runat="server" Width="210px" CssClass="defaultFont" Font-Size="8pt">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="5">
                            </td>
                    </tr>
                    <tr>
                        <td valign="top">
                            <asp:Label ID="Label17" runat="server" Font-Size="8pt" Text="Theme"
                                Width="57px" CssClass="controlLabelFont"></asp:Label>
                        </td>
                        <td valign="top">
                            <asp:DropDownList ID="DD_theme" runat="server" Width="210px" CssClass="defaultFont" Font-Size="8pt">
                            </asp:DropDownList>
                            </td>
                        <td valign="top">
                        </td>
                        <td valign="top">
                            <asp:Label ID="Label18" runat="server" Text="Custodian Filter" Width="108px" Font-Size="8pt" CssClass="controlLabelFont"></asp:Label>
                        </td>
                        <td valign="top"><asp:DropDownList ID="DD_custodian_filter" runat="server" Width="210px" CssClass="defaultFont" Font-Size="8pt">
                        </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="5">
                            </td>
                    </tr>                    
                    <tr>
                        <td valign="top">
                            <asp:Label ID="Label22" runat="server" Font-Size="8pt" Text="User role"
                                Width="95px" CssClass="controlLabelFont"></asp:Label>
                        </td>
                        <td valign="top">
                            <asp:DropDownList ID="DD_role_id" runat="server" Width="210px" CssClass="defaultFont" Font-Size="8pt">
                            </asp:DropDownList>
                        </td>
                        <td valign="top">
                        </td>
                        <td valign="top">
                            <asp:Label ID="lblDefaultDashboard" runat="server" Text="Default Dashboard" CssClass="controlLabelFont"></asp:Label>
                        </td>
                        <td valign="top">
                        <asp:DropDownList ID="DD_Default_Dashboard" runat="server" CssClass="controlFont" Width="210px"></asp:DropDownList>
                            </td>
                    </tr>
                    <tr>                        
                        <td colspan="5">
                        </td>
                    </tr>
                    <tr>
                        <td valign="top">
                            <asp:Label ID="Label7" runat="server" CssClass="controlLabelFont" Text="Active"></asp:Label>
                            </td>
                        <td  runat="server" valign="top">
                            <asp:CheckBox ID="CB_Active" runat="server" />
                        </td>
                        <td valign="top">
                        </td>
                        <td valign="top">
                            <asp:Label ID="Label4" runat="server" CssClass="controlLabelFont" Text="Owner"></asp:Label>
                        </td>
                        <td runat="server" valign="top" id="tdownerid">
                            <asp:DropDownList ID="ddownerid_dd" runat="server" CssClass="controlFont" Visible="False">
                            </asp:DropDownList>                            
                            <asp:HiddenField ID="ownerid" runat="server" />
                        <asp:TextBox ID="txt_ownerid" CssClass="controlFont" runat="server" Width="210px"></asp:TextBox>
                        <asp:HiddenField ID="User_Wizard_ownerid" runat="server" />
                        <asp:Image ID="imgsearch" runat="server" CssClass="SearchPopup" ImageUrl="~/Images/search.gif" />                        
                        </td>
                    </tr>
                    <tr>
                        <td valign="top">
                            <asp:Label ID="lbl_password" runat="server" Font-Size="8pt" Text="Password" CssClass="controlLabelFont"></asp:Label>
                        </td>
                        <td valign="top">
                            <table border="0" cellpadding="0" cellspacing="0">
                                <tr>
                                    <td>
                                    <asp:TextBox ID="TB_password" runat="server" CssClass="defaultFont" Font-Size="8pt" TextMode="Password" Width="210px"></asp:TextBox>
                                        <asp:Image ID="img_pass" runat="server" ImageUrl="Images/key.gif" />
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="TB_password"
                                ErrorMessage="Please enter Password" CssClass="defaultFont" Font-Size="8pt" Width="123px"></asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                            </table>
                        </td>
                        <td>
                        </td>
                        <td>
                        </td>
                        <td runat="server" id="Td2">
                        </td>
                    </tr>
                    <tr>
                        <td>
                            </td>
                        <td id="Td1" runat="server">
                        </td>
                        <td>
                        </td>
                        <td>
                            </td>
                        <td id="Td3" runat="server">
                        </td>
                    </tr>
                    <!-- -----------Added by 'Imran Gani' (copied from RakaTech) on 05-June-2013 for Org Security----------- -->
                    <tr style="display:none">
                        <td  valign="top" >
                            <asp:Label ID="Label23" runat="server" Text="Access Level" CssClass="controlLabelFont"></asp:Label>                           
                        </td>
                        <td>
                            <asp:CheckBox ID="CB_bu_unit" Text="Business Unit" runat="server" Checked="true" CssClass="controlFont"></asp:CheckBox >
                            <asp:CheckBox ID="CB_reporting_to" Text="Reporting TO" runat="server" Checked="true" CssClass="controlFont"></asp:CheckBox >
                        </td>
                        <td colspan="3" ></td>
                        
                    </tr>
                     <tr id="Tr1" class="Dynamic_PageHeaderRow" runat="server" >
                        <td align="left" colspan="5"  style="color:White"> Business Unit Settings 
                        </td>
                    </tr> 
                    <tr>
                        <td valign="middle">
                            <asp:Label ID="Label3" runat="server" Text="Business Unit" CssClass="controlLabelFont"></asp:Label>
                        </td>
                        <td valign="middle">
                            <asp:DropDownList ID="DD_buid" runat="server" CssClass="controlFont" Width="210px"></asp:DropDownList>
                        </td>
                        <td></td>
                        <td valign="middle">
                            <asp:Label ID="Label12" runat="server" Text="Access Level" CssClass="controlLabelFont"></asp:Label>
                        </td>
                        <td valign="top">
                            <asp:RadioButtonList ID="RB_accessrights" runat="server" RepeatDirection="Horizontal"    CssClass="controlFont"> 
                            </asp:RadioButtonList>  
                        </td>                                                                
                    </tr>
                    <tr>
                                    <td>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="DD_buid"
                                ErrorMessage="Please select Business Unit" CssClass="defaultFont" Font-Size="8pt" Width="123px" Display="Dynamic"></asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                    <tr>
                        <td colspan="5">
                            </td>
                    </tr> 
                    <!-- ----------------End for Org Security------------------ -->
                    <tr>
                        <td colspan="5">
                            <asp:HiddenField ID="ps_rowkey" runat="server" />
                            <asp:HiddenField ID="HF_created_by" runat="server" />
                            <asp:HiddenField ID="HF_created_at" runat="server" />
                            <asp:HiddenField ID="HF_owner_id" runat="server" />
                            <asp:HiddenField ID="HF_user_role_rowkey" runat="server" />
                            <asp:HiddenField ID="HF_password" runat="server" />
                            </td>
                    </tr>
                    <!-- -----------Added by 'Imran Gani' (copied from RakaTech) on 05-June-2013 for Org Security----------- -->
                    <tr>
                        <td colspan="5">
                            </td>
                    </tr>
                    <tr>
                        <td colspan="5">
                            <asp:Panel ID="Panel2" runat="server" >
                                <table id="Table2"  runat="server" width="100%" cellspacing="0"   >
                                    <tr id="Tr2"  class="Dynamic_PageHeaderRow" runat="server" >
                                        <td align="left"  colspan="4" style="color:White"> Additional Business Unit Access
                                        </td>
                                        <td align="right" colspan="1"  >
                                            <asp:Button ID="btn_ShowTreeView" runat="server"  Text="Add/Edit" OnClientClick="return ShowTreeView()"  /> 
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="5">                                            
                                            <div id="div_TreeViewModel" runat="server" style="display:none " class="white_content" >
                                                <table cellpadding="0" cellspacing="0"  >
                                                    <tr class="Dynamic_PageHeaderRow">
                                                        <td align="left" >Additional Business Unit Access
                                                           <%-- <input id="Button1" type="button" value="Apply"   onclick="HideTreeViewWithBuUnit()" class="TreeViewClose" runat="server" />--%>
                                                        </td>
                                                        <td align="right" >
                                                            <%--<img id="Img1"  alt="Close" src="Images/close_15.gif" onclick="HideTreeViewWithBuUnit()" class="TreeViewClose" runat="server" /> --%>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td align="left" colspan="2" >
                                                            <asp:TreeView ID="tv_BuUnitModel" Target="_self" NodeStyle-CssClass="TreeViewStyle"  BorderStyle="Double"  BorderWidth="1px"    runat="server" Width="100%" Height="100%"  >
                                                            </asp:TreeView>                                            
                                                        </td>
                                                    </tr>
                                                     <tr class="Dynamic_PageHeaderRow">
                                                        <td align="center" colspan="2">
                                                            <input id="Button2" type="button" value="Apply"   onclick="HideTreeViewWithBuUnit()" class="TreeViewClose" runat="server" />
                                                            <input id="close" type="button" value="Cancel" onclick="HideTreeView()" class="TreeViewClose" runat="server" />
                                                            <%-- <img id="Img2"  alt="Close" src="Images/close_15.gif" onclick="HideTreeViewWithBuUnit()" class="TreeViewClose" runat="server" /> --%>
                                                        </td>
                                                        <%--<td align="right" colspan="4">
                                                           
                                                        </td>--%>
                                                    </tr>
                                                </table>
                                            </div>
                                            <div id="div_HideBackGround" runat="server" style="display:none " class="black_overlay" >
                                            </div>  
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="5">
                                            <table id="htb_BuUnitGrid" runat="server" width="100%"  cellpadding="0" cellspacing="0" border="0"   >
                                            </table>
                                        </td>
                                    </tr>
                                    <tr>
                                    <td colspan="5">
                                        <asp:HiddenField ID="HF_user_business_rowkey" runat="server" />
                                    </td> 
                                    </tr>
                                </table>
                                <input type="hidden" id="hih_SelectedTreeNode" runat="server" />  
                            </asp:Panel>  
                        </td> 
                    </tr> 
                     <!-- ----------------End for Org Security------------------ -->   
                </table>
            </asp:WizardStep>
        </WizardSteps>
        <HeaderStyle CssClass="pgForm_title" VerticalAlign="Middle" HorizontalAlign="Right" Height="25px" />
        <StartNavigationTemplate>
            <asp:Button ID="StartNextButton" runat="server" CommandName="MoveNext" Text="Next" />
            <asp:Button ID="CancelButton" runat="server" CausesValidation="False" CommandName="Cancel"
                Text="Cancel" />
        </StartNavigationTemplate>
        <FinishNavigationTemplate>
            <asp:Button ID="FinishPreviousButton" runat="server" CausesValidation="False" CommandName="MovePrevious"
                Text="Previous" />
            <asp:Button ID="FinishButton" runat="server" CommandName="MoveComplete" Text="Finish" />
            <asp:Button ID="CancelButton" runat="server" CausesValidation="False" CommandName="Cancel" Text="Cancel" />
        </FinishNavigationTemplate>
        <StepStyle VerticalAlign="Middle" />
    </asp:Wizard>
<!--<script language="javascript" src="scripts/viewmode.js" type="text/javascript"></script>-->
<script language="JavaScript" type="text/javascript">
    $("#ctl00_ContentPlaceHolder3_User_Wizard_FinishNavigationTemplateContainerID_FinishButton").css("margin-top","3px");
    $("#ctl00_ContentPlaceHolder3_User_Wizard_FinishNavigationTemplateContainerID_CancelButton").css("margin-right","3px");
</script>
</asp:Content>

